package com.mt.channel.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class ChannelAdminEntity implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = -2590221799328128160L;

    private Integer channelAdminId;

    private Integer channelId;

    private String channelAdminAccount;

    private String realName;

    private String password;

    private Integer roleId;

    private Integer status;

    private String createUserName;

    private Integer createUserId;

    private Integer parentId;

    private Integer channelCommissionerId;

    private Integer channelManagerId;

    private Integer channelDirectorId;

    private Date createTime;

    private Date updateTime;

    private ChannelEntity channelEntity;

    /**
     * 逻辑删除字段
     */
    private Integer deleteStatus;

    private Integer onlyOne;

    public Integer getOnlyOne() {
        return onlyOne;
    }

    public void setOnlyOne(Integer onlyOne) {
        this.onlyOne = onlyOne;
    }

    private List<ChannelAdminRoleRelateEntity> channelAdminRoleList;

    private List<ChannelMenuEntity> channelMenuEntityList;

    public List<ChannelMenuEntity> getChannelMenuEntityList() {
        return channelMenuEntityList;
    }

    public void setChannelMenuEntityList(List<ChannelMenuEntity> channelMenuEntityList) {
        this.channelMenuEntityList = channelMenuEntityList;
    }

    public List<ChannelAdminRoleRelateEntity> getChannelAdminRoleList() {
        return channelAdminRoleList;
    }

    public void setChannelAdminRoleList(List<ChannelAdminRoleRelateEntity> channelAdminRoleList) {
        this.channelAdminRoleList = channelAdminRoleList;
    }

    public Integer getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Integer deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public Integer getChannelAdminId() {
        return channelAdminId;
    }

    public void setChannelAdminId(Integer channelAdminId) {
        this.channelAdminId = channelAdminId;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    public String getChannelAdminAccount() {
        return channelAdminAccount;
    }

    public void setChannelAdminAccount(String channelAdminAccount) {
        this.channelAdminAccount = channelAdminAccount == null ? null : channelAdminAccount.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getChannelCommissionerId() {
        return channelCommissionerId;
    }

    public void setChannelCommissionerId(Integer channelCommissionerId) {
        this.channelCommissionerId = channelCommissionerId;
    }

    public Integer getChannelManagerId() {
        return channelManagerId;
    }

    public void setChannelManagerId(Integer channelManagerId) {
        this.channelManagerId = channelManagerId;
    }

    public Integer getChannelDirectorId() {
        return channelDirectorId;
    }

    public void setChannelDirectorId(Integer channelDirectorId) {
        this.channelDirectorId = channelDirectorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public ChannelEntity getChannelEntity() {
        return channelEntity;
    }

    public void setChannelEntity(ChannelEntity channelEntity) {
        this.channelEntity = channelEntity;
    }
}